﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="EuroAudit.Login" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Login</title>
    <link href="Style.css" rel="stylesheet" type="text/css" />
   
<script type="text/javascript" language="javacript">
<!--
function Window_OnUnLoad()
{
   //On Error Resume Next
   Parent.frames("contents").location.href = "index.aspx";
   //Parent.frames("top").location.href = "top.aspx"
}
function RefreshIndex()
{
   //On Error Resume Next
   top.frames.contents.location = "index.aspx";
   
   //Parent.frames("top").location.href = "top.aspx"
}
-->
</script>

</head>
<body class="PageMain" onunload="RefreshIndex()">
    
    <form id="form1" runat="server">
    <div class="MainContent" align="center">
    
        <asp:Login ID="Login1" runat="server" 
            FailureText="Ielogošanās neveiksmīga. Mēģiniet vēlreiz." Font-Names="Verdana" 
            Font-Size="Small" LoginButtonText="Ielogoties" PasswordLabelText="Parole" 
            PasswordRequiredErrorMessage="Nav ievadīta parole" 
            RememberMeText="Atcerēties paroli" TitleText="" 
            UserNameLabelText="Lietotājvārds" 
            UserNameRequiredErrorMessage="Nav ievadīts lietotājvārds" 
            VisibleWhenLoggedIn="False" BorderStyle="Solid" 
            BorderWidth="1px" onauthenticate="Login1_Authenticate" 
            DestinationPageUrl="~/Main.aspx">
            <LoginButtonStyle CssClass="cmdSave" />
        </asp:Login>
    
        <br />
        <asp:Button ID="cmdLogOut" runat="server" Text="Izlogoties" 
            Visible="False" onclick="cmdLogOut_Click" CssClass="cmdSave" />
    
    </div>
    </form>
    
</body>
</html>
